package cn.edu.tsinghua.vo;

/**
 * Orders entity. @author MyEclipse Persistence Tools
 */

public class Orders implements java.io.Serializable {

	// Fields

	private String orderId;
	private PersonalCustomerVO personalCustomerVO;
	private CompanyVO companyVO;
	private String goodsName;
	private String goodsNum;
	private String goodsTotalPrice;
	private String orderState;

	// Constructors

	/** default constructor */
	public Orders() {
	}

	/** full constructor */
	public Orders(PersonalCustomerVO personalCustomerVO, CompanyVO companyVO,
			String goodsName, String goodsNum, String goodsTotalPrice,
			String orderState) {
		this.personalCustomerVO = personalCustomerVO;
		this.companyVO = companyVO;
		this.goodsName = goodsName;
		this.goodsNum = goodsNum;
		this.goodsTotalPrice = goodsTotalPrice;
		this.orderState = orderState;
	}

	// Property accessors

	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public PersonalCustomerVO getPersonalCustomerVO() {
		return this.personalCustomerVO;
	}

	public void setPersonalCustomerVO(PersonalCustomerVO personalCustomerVO) {
		this.personalCustomerVO = personalCustomerVO;
	}

	public CompanyVO getCompanyVO() {
		return this.companyVO;
	}

	public void setCompanyVO(CompanyVO companyVO) {
		this.companyVO = companyVO;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsNum() {
		return this.goodsNum;
	}

	public void setGoodsNum(String goodsNum) {
		this.goodsNum = goodsNum;
	}

	public String getGoodsTotalPrice() {
		return this.goodsTotalPrice;
	}

	public void setGoodsTotalPrice(String goodsTotalPrice) {
		this.goodsTotalPrice = goodsTotalPrice;
	}

	public String getOrderState() {
		return this.orderState;
	}

	public void setOrderState(String orderState) {
		this.orderState = orderState;
	}

}